from flask import Flask
import os

app =Flask(__name__)
app.debug = True

from app.api import api as api_blueprint
from app.admin import admin as admin_blueprint

app.register_blueprint(admin_blueprint)
app.register_blueprint(api_blueprint,url_prefix='/api')

BASE_DIR = os.path.dirname(os.path.abspath(__file__))
SERVER_ROOT = 'http://192.168.111.139:5000'